package com.tyl.shiro.service.user;

import com.tyl.shiro.mapper.UserMapper;
import com.tyl.shiro.pojo.User;
import com.tyl.shiro.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User queryUser(String name) {
        return userMapper.queryUser(name);
    }
}
